package rs.dalao.syc.user.all.dao.persist.repository;


import rs.dalao.syc.common.pojo.authentication.CurrentPrincipal;
import rs.dalao.syc.user.all.pojo.entity.User;
import rs.dalao.syc.user.all.pojo.entity.UserPersonal;
import rs.dalao.syc.user.all.pojo.vo.UserPersonalListVO;

public interface IUserPersonalRepository {
    //根据用户id判断用户的真实信息是否存在
    UserPersonal selectByUserId(Long id);

    //添加用户真实信息
    int insert(UserPersonal userPersonal);

    //修改用户真实信息
    int updateByUserId(UserPersonal userPersonal);

    UserPersonalListVO selectInfoById(Long id);

    int updateRoleById(Long id);
}
